package com.bst.etl.vo;

import com.bst.common.utils.StringUtils;

import java.util.Arrays;
import java.util.List;

public class EtlLabelDataVO {

    private String cdLabels;
    private String na;
    private List<String> cdLabelList;

    public List<String> getCdLabelList() {
        if(cdLabelList==null && StringUtils.isNotEmpty(cdLabels)) {
            cdLabelList = Arrays.asList(cdLabels.split(","));
        }
        return cdLabelList;
    }

    public void setCdLabelList(List<String> cdLabelList) {
        this.cdLabelList = cdLabelList;
    }

    public String getCdLabels() {
        return cdLabels;
    }

    public void setCdLabels(String cdLabels) {
        this.cdLabels = cdLabels;
    }

    public String getNa() {
        return na;
    }

    public void setNa(String na) {
        this.na = na;
    }
}
